package org.syx;

import cn.hutool.core.util.StrUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.syx.edl.DelimitedLineTokenizer;

import java.util.List;

/**
 * @author:whh
 * @date: 2025-09-05 21:11
 * <p>${description}</p>
 */
public class Main {

    public static final Logger LOG = LoggerFactory.getLogger(Main.class);
    public static void main(String[] args) {

        LOG.info("INFO");

        LOG.warn("WARN");
        System.out.println("Hello world!");

        String s="hello world";


        String replace = StrUtil.replace(s, "o", "M");

        System.out.println(replace);


        String line="武松!~男!~18!~未婚!~河南省";


        DelimitedLineTokenizer tokenizer = new DelimitedLineTokenizer("!~");

        List<String> strings = tokenizer.doTokenize(line);

        System.out.println(strings);
    }
}